package com.meida.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.meida.common.mybatis.annotation.TableAlias;

/**
 * 首页图文编辑
 *
 * @author flyme
 * @date 2022-03-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_config")
@TableAlias("config")
@ApiModel(value="BusConfig对象", description="首页图文编辑")
public class BusConfig extends AbstractEntity {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "configId", type = IdType.ASSIGN_ID)
    private Long configId;

    @ApiModelProperty(value = "图文配置名称")
    private String configName;

    @ApiModelProperty(value = "图文配置轮播图")
    private String configImg;

    @ApiModelProperty(value = "配置内容")
    private String content;

    @ApiModelProperty(value = "跳转路径")
    private String pathUrl;

    @ApiModelProperty(value = "配置code")
    private String configCode;

    @ApiModelProperty(value = "说明")
    private String remark;

    @ApiModelProperty(value = "isOpen(1已开放，2未开放)")
    private Integer isOpen;

    @ApiModelProperty(value = "分类Id")
    private String categoryId;

    @ApiModelProperty(value = "商品Id")
    private String goodsId;

    @ApiModelProperty(value = "公众号Id")
    private String weChatId;

    @ApiModelProperty(value = "配置排序")
    private Integer configSort;

    @ApiModelProperty(value = "配置图标")
    private String configIcon;

    @ApiModelProperty(value = "跳转方式")
    private Integer jumpType;

    @ApiModelProperty(value = "是否删除")
    private Integer deleted;

}
